<!DOCTYPE html>
<html >
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>view对象学习</title>

</head>
<body>
  
   
  <div class="br">
      <button id="win1">窗口</button>
      <br>
  </div>
  <script type="text/tiscript">

	  view.root.on("ready", function() { 
        //新窗口
        $(#win1).on("click", function() {
            view.startNewWindow()
        });
       
	});
</script>
</body>
</html>
